
const state = {
    section: [],
    qustionForm: {
        title: "",
        content: "",
    },
    OneData: {
        satisfaction: 0,
        dissatisfy: 0,
        normal: 0,
        jsonObjectList:[]
    },
    TwoData: {
        sourceScaleList:[],
        submissionAmountList:[]
    },
    threeData: [],
    device: 'desktop',
}

const mutations = {
    SET_SIZE: (state, size) => {
        state.size = size
        Cookies.set('size', size)
    }
}

const actions = {
    toggleSideBar({ commit }) {
        commit('TOGGLE_SIDEBAR')
    }
}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}